-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat smartspim zarr compression #2
Conversation
# Construct settings from env vars | ||
job_settings = SmartspimJobSettings( | ||
input_source="/data/SmartSPIM_714635_2024-03-18_10-47-48", | ||
output_directory="/scratch/", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should output_directory and input_source be hardcoded? Pydantic BaseSettings classes have a neat feature where they'll automatically search for env vars if not set. So if you did something like export INPUT_SOURCE="/data/SmartSPIM_714635_2024-03-18_10-47-48"
and export output_directory="/scartch/"
, then job_settings = SmartspimJobSettings()
will pick them up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right, I was using that for testing. Thanks Jon!
Adding SmartSPIM raw PNG to Zarr compression for all the stacks of tiles per channel using parallel computing.